<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script scr="https://unpkg.com/vue@3/dist.vue.global.js"></script>
		
	</body>
	<div id="app">
		{{message}}<br/>
		姓名：{{name}} 年龄：{{age}}<br />
		明年年龄：{{age+1}}<br />
		是否成年:{{age>=18?"成年":"未成年"}}<br />
	</div>
	<script>
		var app = vue.creatApp({
			data(){
				return{
					"message": "一起学习 vue!",
					"name":"张三",
					"age":18
				}
			}
		});
		var vm = app.mount("#app")
	
	</script>
</html>
